<div class="yiiForm">

<?php $this->widget('application.components.RequiredMessage'); ?>

<?php echo CHtml::beginForm(); ?>

<?php echo CHtml::errorSummary($model); ?>

<?php echo CHtml::activeHiddenField($model,'project_id'); ?>

<div class="simple">
<?php echo CHtml::activeLabelEx($model,'meeting_date'); ?>
<?php 
/*
echo CHtml::activeTextField($model,'meeting_date');
$p = 'meeting_date';
$options = array ();
CHtml::resolveNameID($model, $p, $options);
$this->widget('application.extensions.calendar.SCalendar', array (
	'inputField' => $options['id'],
	'dateFormat' => '%d/%m/%Y',
	'min' => $this->project->meetings[0]->meeting_date
)); */

	$this->widget('zii.widgets.jui.CJuiDatePicker', array (
		//'id'=>'param_value_'.$i,
		'model' => $model,
		'attribute' => "meeting_date",
		// additional javascript options for the date picker plugin
		'options' => Constants::$JuiDatePickerOptions
	));
?> (dd/MM/yyyy)
</div>

<div class="action">
<?php echo CHtml::submitButton(Yii::t('views', 'Create')); ?>
</div>

<?php echo CHtml::endForm(); ?>

</div><!-- yiiForm -->